package com.bx.implatform.kafka.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "新增事件通知对象")
public class NewEvent {

    @Schema(description = " 事件ID ")
    private String id;

    @Schema(description = " 事件类型")
    private String eventType;

    @Schema(description = " 事件小类")
    private String eventCategory;

    @Schema(description = "路段ID ")
    private String roadId;

    @Schema(description = "事件方向 1上行 2下行 3双向")
    private String area;

    @Schema(description = " 事件发生时间")
    private String alarmTime;

    @Schema(description = "起始桩号")
    private String beginPosition;

    @Schema(description = "截止桩号")
    private String endPosition;

    @Schema(description = " 事件状态 x未审核(待确认) d已撤销 0进行中 1已结束 3已存档")
    private String state;

    @Schema(description = "事件描述")
    private String eventDescription;

    @Schema(description = " 事件经度,WGS84")
    private Double longitude;

    @Schema(description = "事件纬度,WGS84 ")
    private Double latitude;

    @Schema(description = " 是否是应急事件 0:非应急事件 1:应急事件")
    private String emergencyEvent;

    @Schema(description = "事件来源")
    private String source;

    @Schema(description = "受伤人数")
    private Integer injureAmount;

    @Schema(description = "死亡人数")
    private Integer deathAmount;

    @Schema(description = " 报警转事件报警id ")
    private String alarmId;
}
